How to setup tasks